import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import {
  Tabbar,
  TabbarItem,
  Button,
  Swipe,
  SwipeItem,
  Search,
  Sidebar,
  SidebarItem,
  Icon,
  Popup,
  Cell,
  SubmitBar,
  RadioGroup,
  Radio,
  Form,
  Field,
  CellGroup,
  showToast,
  Uploader,
  Notify,
  Card
} from 'vant'
 
const app = createApp(App)

app.use(createPinia())
app.use(router)

app.use(Tabbar)
app.use(TabbarItem)
app.use(Button)
app.use(Swipe)
app.use(SwipeItem)
app.use(Search)
app.use(Sidebar)
app.use(SidebarItem)
app.use(Icon)
app.use(Popup)
app.use(Cell)
app.use(SubmitBar)
app.use(RadioGroup)
app.use(Radio)
app.use(Form)
app.use(Field)
app.use(CellGroup)
app.use(showToast)
app.use(Uploader)
app.use(Notify)
app.use(Card)

app.mount('#app')
